package yalter.mousetweaks.handlers;

import net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen;
import net.minecraft.world.inventory.Slot;

public class GuiContainerCreativeHandler extends GuiContainerHandler {
    public GuiContainerCreativeHandler(CreativeModeInventoryScreen guiContainerCreative) {
        super(guiContainerCreative);
    }

    @Override
    public boolean isIgnored(Slot slot) {
        return (super.isIgnored(slot) || slot.container != mc.player.getInventory());
    }
}
